import React, { Component } from 'react';
import { StoreProvider } from 'iflux2';
import AppStore from './store';
import { Row, Col, Button, Form } from 'antd';
import OrderInfo from './component/order-info';
import ReturnInfo from './component/return-info';


@StoreProvider(AppStore)
class RefundOrders extends Component {
    componentDidMount() {
        this.props.store.queryAfterSaleDetail(this.props.params.tid);
    }

    render() {
        return (
            <div className="order-afterSale-new">
                <div className="order-bd-top"></div>
                <OrderInfo orderStep={0} />
                <ReturnInfo form={this.props.form} />
            </div>
        )
    }
}

export default Form.create()(RefundOrders)